package com.cloudbroker.bcs.platform.ltb.bizapi.service.export;

import com.cloudbroker.bcs.common.annotation.NoLogin;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.export.vo.request.GetWeiboAccessTokenForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.export.vo.request.GetWeiboUserInfoByCodeForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.export.vo.response.GetWeiboAccessTokenBackVo;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.export.vo.response.GetWeiboUserInfoByCodeBackVo;

public interface WeiboBizService {
	/**
     * 根据appid与appsecret获取获取AccessToken,微博
     */
    @NoLogin
    public GetWeiboAccessTokenBackVo getAccessToken(GetWeiboAccessTokenForm form);
    
    /**
     * 根据appid与appsecret获取获取AccessToken,微博
     */
    @NoLogin
    public GetWeiboUserInfoByCodeBackVo getUserinfoByAccessToken(GetWeiboAccessTokenForm form);
    
    /**
     * 根据AccessToken获取获取用户信息,微博
     */
    @NoLogin
    public GetWeiboUserInfoByCodeBackVo getUserinfo(GetWeiboUserInfoByCodeForm form);
}
